package bo;

import java.rmi.RemoteException;

public class InterventionAnnulee extends InterventionEtat{
    
        private final String libelle = "AN";

        @Override
        public synchronized boolean setInterventionEtat(Intervention intervention) throws RemoteException {
                if(intervention==null)return false;
                if(!ListeInterventions.getInstance().contientIntervention(intervention))return false;
                return true;
        }

        public synchronized String getlibelle(){
                return this.libelle;
        }
}
